package com.honeywen.mymvc.cto;

/**
 * @author wangwei
 * @date 2020/9/14
 */
public class ChannelTest {

    public static void main(String[] args) {
        // 模拟收到数据，渠道为头条
        String sign = "TOUTIAO";

        ChannelRuleEnum channelRule = ChannelRuleEnum.match(sign);

        GeneralChannelRule rule = channelRule.channel;
        // 执行
        rule.process();
    }
}
